package puly.arr;

public class Suv extends Car{
    private String chassis;

    public Suv(String brand, double length, double height, String chassis) {
        super(brand, length, height);
        this.chassis = chassis;
    }
    public Suv(String brand,double length,double height){
        this(brand,length,height,"high");
    }

    public String getChassis() {
        return chassis;
    }

    public void setChassis(String chassis) {
        this.chassis = chassis;
    }
    public void drive(){
        System.out.println("车辆种类："+getChassis()+"行驶没有那么平稳");
    }
}
